home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11383 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: hpscit.sc.hp.com!news
  2. From: Claus Brod <clausb@bbn.hp.com>
  3. Newsgroups: comp.graphics.api.opengl,comp.lang.c++
  4. Subject: Re: Watcom C++ and OpenGL
  5. Date: Thu, 14 Mar 1996 09:38:28 +0100
  6. Organization: Hewlett-Packard GmbH
  7. Message-ID: <3147DB04.19F4@bbn.hp.com>
  8. References: <4i4l9g$bj9@lilja.vtt.fi>
  9. NNTP-Posting-Host: hpbeo79.bbn.hp.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.07 9000/770)
  14.  
  15. Mikko Kiviranta wrote: 
  16. >   I tried building the sample program from the WinNT SDK online
  17. > documentation (a sample ported from X-Windows) but I got a
  18. > lot of "undefined symbol" errors from the linker. The header
  19. > files gl.h, glu.h and glaux.h are where they belong but in the
  20. > libraries directory there are only glu32.lib and glaux.lib. Am I
  21. > missing a library file corresponding to gl.h? If so where do I get
  22. > one?
  23. >   All the error messages referred to symbol names beginning with
  24. > "gl" or "wgl" (like wglCreateContext or glPushMatrix) which fact
  25. > supports the missing-library theory.
  26.  
  27. The library you're looking for is opengl32.lib. I'm using Visual C++
  28. right now, and it comes with this library. I also found a DLL version
  29. of this library in my WINNT32\system32 directory.
  30.  
  31. --clausb@bbn.hp.com------------------------------------------------------
  32.   Claus Brod, MDD, HP Boeblingen    Have you hugged your manager today?
  33. --#include <std_disclaimer>---------http://hpbmdd28.bbn.hp.com/~clausb --
  34.    Explicit permission required for distribution in Microsoft Network.
  35.